package com.eqxiu.ieditor.api.controller.order.doc;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.codehaus.jackson.JsonParseException;
import org.codehaus.jackson.map.JsonMappingException;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(description = "回调接口,前端无需关注")
public interface NotifyDoc {

	@ApiOperation("接收回调的异步通知,用于消耗订单")
	public void handleNotify(HttpServletRequest request, HttpServletResponse resp)
			throws JsonParseException, JsonMappingException, IOException;

	@ApiOperation("接收支付系统回调通知,用户直冲业务")
	public void handleChargeNotify(HttpServletRequest request, HttpServletResponse resp)
			throws JsonParseException, JsonMappingException, IOException;

	@ApiOperation("接收去尾页回调")
	public void handleSceneTailerNotify(HttpServletRequest request, HttpServletResponse resp)
			throws JsonParseException, JsonMappingException, IOException;
}
